<?php


namespace app\console\service\machiningScheme;

use app\dao\goods\MachiningSchemeDao;


class MachiningSchemeQueryService
{
    public function getPageList($page, $perPage)
    {
        $machiningSchemeDao = new MachiningSchemeDao();
        return $machiningSchemeDao->getPageList($page, $perPage);
    }

    public function getList()
    {
        $machiningSchemeDao = new MachiningSchemeDao();
        return $machiningSchemeDao->getAll();
    }
}